import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { OnetomanyDetailComponent } from './detail/detail.component';
import { OnetomanyEditComponent } from './edit/edit.component';
import { OnetomanyStepbarComponent } from './stepbar/stepbar.component';
import { OnetomanyCheckComponent } from './check/check.component';
import { EnclosureComponent } from './enclosure/enclosure.component';
const routes: Routes = [
	{
		path: "check",
		component: OnetomanyCheckComponent
  },
	{
		path: "enclosure",
		component: EnclosureComponent
	},
	{
		path: ":index/detail/:operate",
		component: OnetomanyDetailComponent
  },
  {
		path: ":index/detail/:operate/:nFundNo",
		component: OnetomanyDetailComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class OnetomanyRoutingModule { }
